// 统一管理项目接口地址
import axios from "@/request/request";
import qs from "qs"

// 获取精品推荐的数据
export const JingpinAPI = () => axios.get("/products/recommend");

// 获取热门数据
export const HotAPI = () => axios.get("/products/hot");

// 商品搜索
export const MoreGoodsApi = axios.get("/products");

// 发送验证码
export const sendSMSAPI = (params) => axios.post("/sendSMS", qs.stringify(params));

// 发送登录请求
export const phoneReginAPI = (params) => axios.post("/phoneRegin", qs.stringify(params));
